import { request } from '@/utils/request';
import type { RefundOrder } from '@/api/model/orderModel';
import {PageData} from '@/api/model/pageModel'

const Api = {
  BaseList: '/refund/page',
  CardList: '/get-card-list',
};

export function getList(pageInfo:any) {
return request.get<PageData<RefundOrder>>({
        url: Api.BaseList+"?page="+pageInfo.current+"&pageSize="+pageInfo.pageSize+"&mchId="+pageInfo.mchId+"&date="+pageInfo.date,
      });
}
